<?php

/**
 * @name: rayvalidate.class.php
 * @version: 1.0
 * @package: PHP MVC Framework
 * @uses: Validates passed form information
 * @copyright: MIT
 * @author Andrew Lowther
 */
 
 class RayValidate {
 	
 	public function strip_slashes($values) {
 		
 		if (is_array($values)) {
 			
 			array_walk($values, $this->strip_slashes);
 			
 		} else {
 			
 			$return = stripslashes($values);
 			
 		}
 		
 		return $return;
 		
 	}
 	
 }
 
 ?>